package syntaxtree;

import visitor.TranslateVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

/**
 * 
 * */
public class MainClass {
	/***/
	public int beginLine, endLine, beginColumn, endColumn;
	/***/
	public Identifier i1,i2;
	/***/
	public Statement s;

	/**
	 * 
	 * */  
	public MainClass(Identifier ai1, Identifier ai2, Statement as) {
	    i1=ai1; i2=ai2; s=as;
	}
	
	/**
	 * 
	 * */
	public void accept(Visitor v) {
	    v.visit(this);
	}
	
	/**
	 * 
	 * 
	 * */
	public Type accept(TypeVisitor v) {
	    return v.visit(this);
	}
	
	/**
	 * 
	 * */
	public translate.activationRegister.util.Exp accept(TranslateVisitor v){
		  return v.visit(this);
	}
}

